package com.feeling.oafeeling.UserTestCase;

import com.feeling.oafeeling.common.pojo.AjaxResult;
import com.feeling.oafeeling.service.ISysUserService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.web.bind.annotation.PathVariable;

import javax.annotation.Resource;

@SpringBootTest
public class UserTest01 {
    @Resource
    private ISysUserService userService;

//    @Test
//    public AjaxResult getAll(@PathVariable Integer currentPage, @PathVariable Integer pageSize){
//        if (userService.getPage(currentPage,pageSize,null) == null){
//            return AjaxResult.error("查询失败");
//        }
//        return AjaxResult.success("查询成功", userService.getPage(currentPage,pageSize,null));
//    }
}
